package com.qf.dao;

import com.qf.entity.Employee;
import com.qf.param.EmployeeAddOrUpdateParam;

import com.qf.utils.PageVO;
import com.qf.vo.EmployeeListVO;

import java.util.List;

/**
 * @author zdl
 * @date 2025/3/14
 */
public interface EmployeeDao {
    /**
     * 分页查询展示各审批状态下的数据
     * @return
     */
    List<Employee> selectEmployeeList();

    int insertEmployee(EmployeeAddOrUpdateParam employeeAddParam);

    List<EmployeeListVO> selectEmployeeExcel();

    Employee selectEmployeeById(Integer id);

    int delEmployeeById(int id);

    int updateSaveEmployee(EmployeeAddOrUpdateParam employeeUpdateParam);

    int updateSateEmployeeById(EmployeeAddOrUpdateParam employeeUpdateParam);

    List<Employee> selectEmployeeStateList();

    int updateSateAgree(Employee employee);
}
